NitroPack\SDK\Api A

Total Complexity 70
Dependencies 16
Dependents 1
Total lines 275
Lines of code 214
Logical lines of code 108
Comment lines 2
Methods 42
Properties 5

Methods 42

Method Rating Maintainability Complexity Lines of code
setVariationCookie()
A
52 11 22
setWebhook()
S
60 4 13
tagUrl()
S
65 4 8
unsetVariationCookie()
S
63 4 10
getWebhook()
S
62 3 11
__construct()
S
56 2 17
unsetWebhook()
S
63 3 10
getVariationCookies()
S
69 2 7
setNitroPack()
S
74 2 5
estimateWarmup()
S
67 2 8
setBacklog()
S
74 2 5
updateWebsite()
S
80 1 3
createWebsite()
S
80 1 3
removeWebsite()
S
80 1 3
getWebsiteByAPIKey()
S
80 1 3
setWarmupSitemap()
S
80 1 3
getWebsitesPaginated()
S
79 1 3
getWarmupStats()
S
81 1 3
runWarmup()
S
79 1 3
unsetWarmupHomepage()
S
80 1 3
setWarmupHomepage()
S
80 1 3
unsetWarmupSitemap()
S
80 1 3
disableWarmup()
S
81 1 3
resetWarmup()
S
81 1 3
getPendingUrlsCount()
S
75 1 4
getCache()
S
78 1 3
getLastCachePurge()
S
81 1 3
purgeCache()
S
79 1 3
purgeCacheByTag()
S
79 1 3
getUrls()
S
78 1 3
getUrlsCount()
S
74 1 4
getPendingUrls()
S
79 1 3
untagUrl()
S
74 1 4
enableWarmup()
S
81 1 3
getTaggedUrls()
S
79 1 3
getTaggedUrlsCount()
S
75 1 4
getTags()
S
79 1 3
getSavings()
S
81 1 3
getDiskUsage()
S
81 1 3
getRequestUsage()
S
81 1 3
resetSavingsStats()
S
81 1 3
isSafeModeEnabled()
S
75 1 4